package com.neusoft.adminweb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * (Student)实体类
 *
 * @author makejava
 * @since 2020-11-09 10:29:15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Accessors(chain = true)
public class Student implements Serializable {
    private static final long serialVersionUID = 192646146794773368L;

    private Integer id;

    private String name;

    private Integer gender;

    private String phone;

    private String password;
    /**
     * 格式：DR+年份+ID
     */
    private String code;

    private Integer dormId;

    private Dorm qinshi;//寝室

    private Dorm sushelou;//宿舍楼

}